﻿using SlamCms.DomainEvents;

namespace SlamCms.Data.Events
{
	public enum CacheInvalidatedType
	{
		Content,
		Tags,
		Users,
		Core,
		Sitemaps,
		Queries
	}

	public class CacheInvalidated : IDomainEvent
	{
		public CacheInvalidated(CacheInvalidatedType type)
		{
			Type = type;
		}

		public CacheInvalidatedType Type { get; private set; }
	}
}
